/*!
 * TidyBlog 2.0
 * Link create & edit page - v1.0 (2013-10-06T11:34:50+0800)
 * https://code.google.com/p/tidyblog/ | Released under MIT license
 */
define("/manage-page/link/data/1.x/",["dom/1.0.x/","validator/1.0.x/","ajax/1.1.x/","widget/1.0.x/","/common/util/1.0.x/",null],function(e,t,n){"use strict";var r=e("dom/1.0.x/"),i=e("validator/1.0.x/"),s=e("/common/util/1.0.x/");new i({form:r("form"),steps:[{fields:"LinkName",message:"链接名不能为空"},{fields:"Weight",rule:"min:0&&max:255",message:"权重必须为0-255"},{fields:"LinkUrl",message:"链接地址不能为空"}],events:{submiterror:s.onSubmitError}})})